import Joi from '@hapi/joi';

export const loginRule = {
    body: {
        code: Joi.string()
            .trim()
            .required(),
        userInfo: Joi.object()
            .required(),
    },
};
